<%@ page language="java"
import="com.jju.A1541.dao.*"
 import="java.util.*"
 import="com.jju.A1541.model.*"
 contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Products</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="" />
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
<!-- Custom Theme files -->
<link href="css/bootstrap.css" type="text/css" rel="stylesheet" media="all">
<link href="css/style.css" type="text/css" rel="stylesheet" media="all">  
<link href="css/font-awesome.css" rel="stylesheet"> <!-- font-awesome icons --> 
<link rel="stylesheet" href="css/owl.carousel.css" type="text/css" media="all"/> <!-- Owl-Carousel-CSS -->
<!-- //Custom Theme files --> 
<!-- js -->
<script src="js/jquery-2.2.3.min.js"></script>
<script src="jquery-1.11.3.js"></script>
<!-- //js -->
<!-- web-fonts -->   
<link href="http://fonts.googleapis.com/css?family=Berkshire+Swash" rel="stylesheet"> 
<link href="http://fonts.googleapis.com/css?family=Yantramanav:100,300,400,500,700,900" rel="stylesheet">
<!-- //web-fonts -->
</head>
<body> 
	<!-- banner -->
	<div class="banner about-w3bnr">
		<!-- header -->
		<div class="header">
			<div class="w3ls-header"><!-- header-one --> 
				<div class="container">
					<div class="w3ls-header-right">
						<ul> 
							<li class="head-dpdn">
								<i class="fa fa-phone" aria-hidden="true"></i> 联系我们: 15779180127
							</li> 
							<li class="head-dpdn">
								<a href="#">
								<%
								User jzz = (User)session.getAttribute("login_user");
								User bjzz = (User)session.getAttribute("login_user1");
								 if(jzz ==null ){
									 if(bjzz==null){
									 out.print("<li class='head-dpdn'><a href='login.jsp'><i class='fa fa-sign-in' aria-hidden='true'></i>登录</a></li>"
											         +
											         "<li class='head-dpdn'><a href='signup.jsp'><i class='fa fa-user-plus' aria-hidden='true'></i> 注册</a></li>");
									 }else{
										 String username = (String)session.getAttribute("u");
								    	  out.print("<li>欢迎："+username+"登录本网站！");
									 }
							      }else{
							    	  String username = (String)session.getAttribute("u");
							    	  out.print("<li>欢迎："+username+"登录本网站！");
							      }
								%>
								 </a>
							</li> 
							<li class="head-dpdn">
								<a href="help.jsp"><i class="fa fa-question-circle" aria-hidden="true"></i> 帮助</a>
							</li>
							<li class="head-dpdn">
								<a href="about.jsp"><i class="fa  fa-male" aria-hidden="true"></i> 关于</a>
							</li> 
							<li class="head-dpdn">
								<a href="logout.jsp"><i class="fa  fa-sign-out" aria-hidden="true"></i> 退出</a>
							</li> 
						</ul>
					</div>
					<div class="clearfix"> </div> 
				</div>
			</div>
			<!-- //header-one -->    
			<div class="navigation agiletop-nav">
				<div class="container">
					<nav class="navbar navbar-default">
						<!-- Brand and toggle get grouped for better mobile display -->
						<div class="navbar-header w3l_logo">
							<button type="button" class="navbar-toggle collapsed navbar-toggle1"
									data-toggle="collapse" data-target="#bs-megadropdown-tabs">
								<span class="sr-only">Toggle navigation</span>
								<span class="icon-bar"></span>
								<span class="icon-bar"></span>
								<span class="icon-bar"></span>
							</button>
							<h1><a href="index.jsp">九院旧衣捐赠平台<span>Old clothes donation about Jiujiang University</span></a></h1>
						</div>
						<!-- 导航栏 -->
						<div class="collapse navbar-collapse" id="bs-megadropdown-tabs">
							<ul class="nav navbar-nav navbar-right">
								<li><a href="index.jsp" class="active">网站首页</a></li>
								<li class="dropdown">
									<a href="donate.jsp" class="#" >我要捐赠</a>
								</li>
								<li><a href="inform.jsp" >通知公告</a></li>
								<li><a href="message.jsp">爱心留言</a></li>
								<%
								if(bjzz==null){
									out.print("<li><a href='#address'>爱心征集</a></li>");
								}else{
									out.print("<li><a href='collect.jsp'>爱心征集</a></li>");
								}
								%>
							</ul>
						</div>
					</nav>
				</div>
			</div>
			<!-- //navigation -->
		</div>
	<!-- //banner -->    
	<!-- breadcrumb -->  
	<div class="container">
		<ol class="breadcrumb w3l-crumbs">
			<li><a href="#"><i class="fa fa-home"></i>首页</a></li>
			<li class="active">个人中心</li>
		</ol>
	</div>
	<!-- //breadcrumb -->
		<div class="container-fluid">
			<div class="row ">
				<!--data-toggle collapse 折叠  ul class =collapse 初始折叠 -->
				<div class="col-md-2 wow slideInDown" id="left">
					<!--ul id  和 上面a 标签的id对应 所以能够弹出li -->
					</br>
					<!--data-toggle collapse 折叠   collapse in 初始不折叠-->
					<div> <a href="#userSetting"  data-toggle="collapse">
						<i class="glyphicon glyphicon-fire"></i> 个人中心<span class="pull-right glyphicon glyphicon-chevron-down"></span> </a>
						<ul class="nav nav-pills nav-stacked collapse in " id="userSetting">
							<li  > <a href="javascript:void(0);" onclick="loadXMLDoc('my.jsp')">
								<i class="glyphicon glyphicon-user"></i> 个人资料</a> </li>
							<li > <a href="javascript:void(0);" onclick="loadXMLDoc('Zp_index.jsp')">  <i class="glyphicon glyphicon-inbox"></i> 我的捐赠</a> </li>
							<li > <a href="javascript:void(0);" onclick="loadXMLDoc('myly.jsp')">  <i class="glyphicon glyphicon-gift"></i> 我的奖励</a> </li>
						</ul>
					</div>
					</br>
					<!--data-toggle collapse 折叠   collapse in 初始不折叠-->
					<div> <a href="#sellSetting"  data-toggle="collapse">
						<i class="glyphicon glyphicon-asterisk"></i> 捐赠中心<span class="pull-right glyphicon glyphicon-chevron-down"></span> </a>
						<ul class="nav nav-pills nav-stacked collapse in " id="sellSetting">
							<li > <a href="#right">
								<i class="glyphicon glyphicon-pencil"></i> 发布赠品 </a> </li>
							<li > <a href="javascript:void(0);" onclick="loadXMLDoc('mylogistics.html')">
								<i class="glyphicon glyphicon-send"></i> 赠品物流</a> </li>

						</ul>
					</div>

				</div>
				<div class=" col-md-8 publish wow fadeInUp" id="right" ><!-- 将数据appendTo tbody 定义id -->
					<form class="form-horizontal" action="zp_add_save.jsp"
						  method="post">
						<div class="form-group">
							<label  class="col-sm-2">*赠品类型:</label>
							<div class="col-sm-7 dropdown">
								<select name="zplx">
									<option></option>
									<option>男装</option>
									<option>女装</option>
								</select>
							</div>
						</div>
						<div class="form-group">
								<label  class="col-sm-2">*其他分类:</label>
							<div class="col-sm-7 dropdown" >
								<select name="qtfl">
									<option></option>
									<option>春秋装</option>
									<option>夏装</option>
									<option>冬装</option>
									<option>其他</option>
								</select>
							</div>
							</div>
						<div class="form-group">
								<label  class="col-sm-2">*收衣方式:</label>
							<div class="col-sm-7 dropdown" >
								<select name="syfs">
									<option></option>
									<option>衣物上门预约回收</option>
									<option>衣物定点预约捐赠</option>

								</select>
							</div>
							</div>
						<div class="form-group">
								<label  class="col-sm-2">*寝室楼栋:</label>
							<div class="col-sm-7 dropdown" >
								<select name="qsld">
									<option></option>
									<option>1</option>
									<option>2</option>
									<option>3</option>
									<option>4</option>
									<option>5</option>
									<option>6</option>
									<option>7</option>
									<option>8</option>
									<option>9</option>
									<option>10</option>
									<option>11</option>
									<option>12</option>
									<option>13</option>
									<option>14</option>
									<option>15</option>
									<option>16</option>
									<option>17</option>
									<option>18</option>
									<option>19</option>
									<option>20</option>
									<option>21</option>
									<option>22</option>
									<option>23</option>
									<option>24</option>
									<option>25</option>
									<option>26</option>
									<option>27</option>
									<option>28</option>
									<option>29</option>
									<option>30</option>
									<option>31</option>
									<option>32</option>
									<option>33</option>
									<option>34</option>
									<option>35</option>

								</select>
							</div>
							</div>
						<div class="form-group">
							<label  class="col-sm-2">赠品详情:</label>
							<div class="col-sm-7 dropdown">
								<textarea rows="3" cols="50" name="zpxq"></textarea>
								<span	class="help-block"></span> </div>
						</div>

						<!-- 发布人ID 隐藏-->

						<br/>
						<br/>
						<button type="submit"  class="btn btn-primary  col-sm-2 col-md-offset-2" id="expaddbtn">发布</button>

						<button type="reset" class="btn btn-danger col-sm-2 " id="exp_delete_all_btn">重置</button>
					</form>
				</div>
        <!--赠品物流-->
			</div>
		</div>
	<!-- subscribe -->
	<div class="subscribe agileits-w3layouts"> 
		<div class="container">
			<div class="col-md-6 social-icons w3-agile-icons">
				<h4>Keep in touch</h4>  
				<ul>
					<li><a href="#" class="fa fa-facebook icon facebook"> </a></li>
					<li><a href="#" class="fa fa-twitter icon twitter"> </a></li>
					<li><a href="#" class="fa fa-google-plus icon googleplus"> </a></li>
					<li><a href="#" class="fa fa-dribbble icon dribbble"> </a></li>
					<li><a href="#" class="fa fa-rss icon rss"> </a></li> 
				</ul> 
				<ul class="apps"> 
					<li><h4>Download Our app : </h4> </li>
					<li><a href="#" class="fa fa-apple"></a></li>
					<li><a href="#" class="fa fa-windows"></a></li>
					<li><a href="#" class="fa fa-android"></a></li>
				</ul> 
			</div>
			<div class="col-md-6 subscribe-right">
				<h3 class="w3ls-title">还不想为那些孩子们做什么吗? <br>
					<span ><a href="signup.jsp"> 现在就加入我们!</a></span></h3>
			</div>
			<div class="clearfix"> </div>
		</div>
	</div>
		<!-- //subscribe -->
		<!-- footer -->
		<div class="footer agileits-w3layouts">
			<div class="footer-grids" >
				<a href="#">网站简介</a>
				|
				<a href="#">我要捐赠</a>
				|
				<a href="#">通知公告</a>
				|
				<a href="#">爱心留言</a>
				|
				<a href="#">关于我们</a>
				<p>捐赠地址：九江学院三食堂学生服务中心</p>
				<p>爱心热线: 15779180127</p>
				<p>版权所有：信息A1541罗金苹</p>
			</div>
		</div>
	<!-- //footer -->
		<script>
            function loadXMLDoc(url)
            {
                var xmlhttp;
                if (window.XMLHttpRequest)
                {
                    //  IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
                    xmlhttp=new XMLHttpRequest();
                }
                else
                {
                    // IE6, IE5 浏览器执行代码
                    xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
                }
                xmlhttp.onreadystatechange=function()
                {
                    if (xmlhttp.readyState==4 && xmlhttp.status==200)
                    {
                        document.getElementById("right").innerHTML=xmlhttp.responseText;
                    }
                }
                xmlhttp.open("GET",url,true);
                xmlhttp.send();
            }
		</script>
		<!-- cart-js -->
		<script src="js/minicart.js"></script>
		<script>
            w3ls.render();

            w3ls.cart.on('w3sb_checkout', function (evt) {
                var items, len, i;

                if (this.subtotal() > 0) {
                    items = this.items();

                    for (i = 0, len = items.length; i < len; i++) {
                    }
                }
            });
		</script>
		<!-- //cart-js -->

	<!-- Owl-Carousel-JavaScript -->
	<script src="js/owl.carousel.js"></script>
	<script>
		$(document).ready(function() {
			$("#owl-demo").owlCarousel ({
				items : 3,
				lazyLoad : true,
				autoPlay : true,
				pagination : true,
			});
		});
	</script>
	<!-- //Owl-Carousel-JavaScript -->  	
	<!-- the jScrollPane script -->
	<script type="text/javascript" src="js/jquery.jscrollpane.min.js"></script>
	<script type="text/javascript" id="sourcecode">
		$(function()
		{
			$('.scroll-pane').jScrollPane();
		});
	</script>
	<!-- //the jScrollPane script -->
	<script type="text/javascript" src="js/jquery.mousewheel.js"></script> <!-- the mouse wheel plugin --> 
	<!-- start-smooth-scrolling -->
	<script src="js/SmoothScroll.min.js"></script>  
	<script type="text/javascript" src="js/move-top.js"></script>
	<script type="text/javascript" src="js/easing.js"></script>	
	<script type="text/javascript">
			jQuery(document).ready(function($) {
				$(".scroll").click(function(event){		
					event.preventDefault();
			
			$('html,body').animate({scrollTop:$(this.hash).offset().top},1000);
				});
			});
	</script>
	<!-- //end-smooth-scrolling -->
	<!-- smooth-scrolling-of-move-up -->
	<script type="text/javascript">
		$(document).ready(function() {
			/*
			var defaults = {
				containerID: 'toTop', // fading element id
				containerHoverID: 'toTopHover', // fading element hover id
				scrollSpeed: 1200,
				easingType: 'linear' 
			};
			*/
			
			$().UItoTop({ easingType: 'easeOutQuart' });
			
		});
	</script>
	<!-- //smooth-scrolling-of-move-up -->  
	<!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="js/bootstrap.js"></script>
	</div>
</body>
</html>